package tang.common;

/**
 * @author Tang
 * @classname OpCode
 * @description [  ]
 * @date 2021/2/26 10:47
 */
public enum OpCode {

    Connect("Connect",1),Create("Create",2);

    private String name;

    private Integer code;

    private OpCode(String name, Integer code) {
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public Integer getCode() {
        return code;
    }
}
